package com.supply.service;

import com.supply.pojo.Goods;
import com.supply.pojo.ResultBean;
import com.supply.req.GoodsReq;

import java.util.List;

public interface GoodsService {
    List<Goods> queryByCondition(GoodsReq goodsReq);

    List<Goods> queryAll();

    int saveOrUpdate(Goods goods);

    Goods queryById(Long goodsId);

    //根据合作公司Id查询合作商品
    List<Goods> queryByCompanyId(Long id);
}
